#ifndef DUMMYROW_H
#define DUMMYROW_H

#include <QObject>

#include <QList>
#include <QIcon>

class QStandardItem;

class DummyRow : public QObject
{
    Q_OBJECT

public:
    DummyRow(
        const QString &text
    ,   const QIcon &icon = QIcon());

    virtual ~DummyRow();

    void setText(const QString &text);
    void setIcon(const QIcon &icon);


    QList<QStandardItem*> items() const;

    const int row() const;

    const bool hasItemInRow(QStandardItem *item) const;

signals:
    void columnWidthChanged(int column);

protected:
    QStandardItem *m_firstItem;
    QStandardItem *m_dummyItem[3];
};

#endif // DUMMYROW_H
